package com.smart.entity.business;


import com.baomidou.mybatisplus.annotation.TableName;
import com.smart.model.excel.annotation.ExcelField;
import com.smart.model.excel.annotation.ExcelFields;
import com.smart.mybatis.entity.BaseEntity;
import com.smart.mybatis.annotation.Column;
import com.smart.mybatis.enums.QueryType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;
import lombok.NoArgsConstructor;

/**
 * 参数模板
 *
 * @author wf
 * @since 2025-07-15 13:03:48
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@FieldNameConstants
@TableName("parameter_template")
@ExcelFields({
        @ExcelField(title = "模板名称", attrName = "name",  align = ExcelField.Align.CENTER, sort = 1),
        @ExcelField(title = "描述", attrName = "description",  align = ExcelField.Align.CENTER, sort = 2),
        @ExcelField(title = "表类型ID", attrName = "meterTypeId",  align = ExcelField.Align.CENTER, sort = 3),
        @ExcelField(title = "创建时间", attrName = "createDate",  align = ExcelField.Align.CENTER, sort = 4),
        @ExcelField(title = "更新时间", attrName = "updateDate",  align = ExcelField.Align.CENTER, sort = 5)
})
public class ParameterTemplateEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 模板名称
	 */
    @Column(name = "name", queryType = QueryType.EQ)
    private String name;
	/**
	 * 描述
	 */
    @Column(name = "description", queryType = QueryType.EQ)
    private String description;
	/**
	 * 表类型ID
	 */
    private String meterTypeId;
	/**
	 * 序号
	 */
    private Integer listId;

}
